//
//  CJFirmUserCell.m
//  Boss
//
//  Created by admin on 2018/9/20.
//  Copyright © 2018年 admin. All rights reserved.
//

#import "CJFirmUserCell.h"
@interface CJFirmUserCell()

@property (strong, nonatomic) IBOutlet UIImageView *userImageView;
@property (strong, nonatomic) IBOutlet UILabel *userName;
@property (strong, nonatomic) IBOutlet UIImageView *vipImageView;

@property (strong, nonatomic) IBOutlet UILabel *userDuty;


@end
@implementation CJFirmUserCell
-(void)setModel:(CJFirmUserListModel *)model
{
    _model = model;
    [self.userImageView sd_setImageWithURL:[NSURL URLWithString:model.url]];
    self.userDuty.text = model.position;
    self.userName.text = model.userName;
    [self.vipImageView showVipImageViewStatusWithVipId:model.vipId];
    
    
    
    
    
}
- (void)awakeFromNib {
    [super awakeFromNib];
    [self.userImageView setCornerRadius:20.f];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

}

@end
